package com.cug.zfanspring.service;


import com.cug.zfanspring.bean.IndexAlarm;
import com.cug.zfanspring.mapper.IndexAlarmMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class IndexAlarmService {
    @Autowired
    IndexAlarmMapper exceedingAlertMapper;
    public List<IndexAlarm> getAllExceedingAlert() {
        return exceedingAlertMapper.getAllExceedingAlert();
    }

}
